package org.qu.util.dao;

import java.util.List;

public interface IDAO<T> {
	public boolean doCreate(T vo) throws Exception;

	public boolean doRemove(T id) throws Exception;

	public boolean doUpdate(T vo) throws Exception;

	public List<T> findAll(String kw)throws Exception;

	public List<T> findAll(String kw, Integer cp, Integer ls)throws Exception;

	public T findById(T id)throws Exception;

	public Integer getAllCount(String kw)throws Exception;
}
